package com.aop;

import lombok.extern.slf4j.Slf4j;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;


@Aspect
@Slf4j
public class BasicAopConfig {



    @Before("execution(public void com.service.impl.UserServiceImpl.foo()) ")
    public void bar(){

        log.debug("前置通知被执行了");
    }

}
